package com.weihoo.manager.service;

import com.weihoo.manager.vo.User;
import org.springframework.stereotype.Service;

/**
 * @Author houyeping
 * @Date 2017/11/24 16:38
 * @Description
 */
@Service
public class HelloServiceImpl implements IHelloService {

    @Override
    public String hello(String name) {
        return "hello,"+name+",你好啊";
    }

    @Override
    public User queryUser() {
        User u = new User();
        u.setName("张三");
        u.setPassword("123456789");
        u.setAge(20);
        return u;
    }
}
